import request from '@/utils/request'

// 查询企业变更列表
export function listEnterprise_change(query) {
  return request({
    url: '/report/enterprise_change/list',
    method: 'get',
    params: query
  })
}

// 查询企业变更详细
export function getEnterprise_change(id) {
  return request({
    url: '/report/enterprise_change/' + id,
    method: 'get'
  })
}

// 新增企业变更
export function addEnterprise_change(data) {
  return request({
    url: '/report/enterprise_change',
    method: 'post',
    data: data
  })
}

// 修改企业变更
export function updateEnterprise_change(data) {
  return request({
    url: '/report/enterprise_change',
    method: 'put',
    data: data
  })
}

// 删除企业变更
export function delEnterprise_change(id) {
  return request({
    url: '/report/enterprise_change/' + id,
    method: 'delete'
  })
}
